package com.ming.seatMonitoring.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ming.seatMonitoring.pojo.DO.BookRoomInfoDO;
import com.ming.seatMonitoring.pojo.DO.RoomInfoDO;

/**
 * @author 小明
 * @date 2021/10/22
 * @description
 */
public interface BookRoomService extends IService<BookRoomInfoDO> {
    boolean addBookInfo(BookRoomInfoDO bookInfo);

    boolean deleteBookInfo(int roomId);

    boolean updateBookInfo(BookRoomInfoDO bookInfo);

    Page<BookRoomInfoDO> getBookInfo(Page<BookRoomInfoDO> page);

    BookRoomInfoDO searchBookInfo(int roomId);
}
